package config.table.xls;
import java.util.Collections;
import java.util.Map;
import game.tools.http.HttpTools;

public class ServerNotify 
{
	public static final ServerNotify Instance = new ServerNotify();
	
	public String toNotify()
	{
		String notifyUrl = Parameters.Instance.getServerNotifyUrl();
		Map<String,String> header = Collections.singletonMap("token", Parameters.Instance.getServerAccessToken());
		return HttpTools.sendGet(notifyUrl, header);
	}
}
